import Party from "./Party";

export class Department extends Party {
    constructor(monthlyCost) {
        super();
        this.monthlyCost = monthlyCost
    }

    get annualCost() {
        return this.monthlyCost * 12;
    }
}